package com.guodu.service;

import java.util.List;

import com.guodu.entity.Contract;
import com.guodu.entity.ContractStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.ContractQueryVo;
import com.guodu.vo.ContractVo;


public interface ContractService {
	List<ContractVo> findByVo(ContractQueryVo contractQueryVo,Units units,UserInfo userInfo,int curPage , int pageSize);
	List<Contract> findAllByVo(ContractQueryVo contractQueryVo,Units units,UserInfo userInfo);
	
	public ContractVo findAllMoney(ContractQueryVo contractQueryVo,Units units,UserInfo userInfo);
	
	int findSizeByVo(ContractQueryVo contractQueryVo,Units units,UserInfo userInfo);
	void examine(ContractQueryVo contractQueryVo,Units units,UserInfo userInfo);
	Contract findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(Contract entity);
	void update(Contract entity);
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	List<ContractStatus> findStatus(String id);
}
